package dao;

import java.util.List;
import java.util.Map;

import entiey.OrderFood;

public interface OrderFoodDao extends BaseDao<OrderFood>{
	/**
	 * 根据单号分组，统计每个单号下的菜品数量
	 * @return
	 */
	Map<String, Integer> getOrderCount();
	/**
	 * 根据订单号查找
	 * @param orderNo
	 * @return
	 */
	List<OrderFood> findByOrderNo(String orderNo);
	/**
	 * 根据订单号删除
	 */
	int deleteByOrderNo(String orderNo);
	 
}
